package testview.zhen.com.myapplication.animator;

import android.animation.ObjectAnimator;
import android.os.Bundle;

import android.view.View;
import android.widget.Toolbar;

import androidx.appcompat.app.AppCompatActivity;
import testview.zhen.com.myapplication.R;

public class Main3Activity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main3);
    }

    public void rotateyAnimRun(final View view) {
        ObjectAnimator anim = ObjectAnimator.ofFloat(view, "rotationX", 0.0f, 360.0f)
                .setDuration(500);
        anim.start();
    }


//    public abstract class ClassVisitor {
//        public ClassVisitor(int api);
//        public ClassVisitor(int api, ClassVisitor cv);
//        public void visit(int version, int access, String name, String signature, String superName, String[] interfaces);
//        public void visitSource(String source, String debug);
//        public void visitOuterClass(String owner, String name, String desc);
//        AnnotationVisitor visitAnnotation(String desc, boolean visible);
//        public void visitAttribute(Attribute attr);
//        public void visitInnerClass(String name, String outerName, String innerName, int access);
//        public FieldVisitor visitField(int access, String name, String desc, String signa,object value);
//        public MethodVisitor visitMethod(int access,String name,String desc,String signature, String[] exceptions);
//        void visitEnd();
//    }
}
